package cn.controlsys.dao;

import cn.controlsys.model.RechargeAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface RechargeAccountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RechargeAccount record);

    int insertSelective(RechargeAccount record);

    RechargeAccount selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RechargeAccount record);

    int updateByPrimaryKey(RechargeAccount record);

    List<RechargeAccount> selectRechargeAccount();

    List<RechargeAccount> selectRechargeAccountByWecAccount(@Param("wecAccount") String wecAccount,
                                                            @Param("wecType") Byte wecType);
}